﻿<common:LayoutAwarePage
    x:Name="pageRoot"
    x:Class="Studio77.GuessTheWordsWin8.Pages.PrivacyPolicyPage"
    DataContext="{Binding DefaultViewModel, RelativeSource={RelativeSource Self}}"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Studio77.GuessTheWordsWin8.Pages"
    xmlns:common="using:Studio77.GuessTheWordsWin8.Common"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Page.Resources>

        <!-- TODO: Delete this line if the key AppName is declared in App.xaml -->
        <x:String x:Key="AppName">My Application</x:String>
    </Page.Resources>

    <!--
        This grid acts as a root panel for the page that defines two rows:
        * Row 0 contains the back button and page title
        * Row 1 contains the rest of the page layout
    -->
    <Viewbox>
		<VisualStateManager.VisualStateGroups>
<!-- Visual states reflect the application's view state -->
			<VisualStateGroup x:Name="ApplicationViewStates">
				<VisualState x:Name="FullScreenLandscape"/>
				<VisualState x:Name="Filled"/>

                <!-- The entire page respects the narrower 100-pixel margin convention for portrait -->
				<VisualState x:Name="FullScreenPortrait">
					<Storyboard>
						<ObjectAnimationUsingKeyFrames Storyboard.TargetName="backButton" Storyboard.TargetProperty="Style">
							<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PortraitBackButtonStyle}"/>
						</ObjectAnimationUsingKeyFrames>
					</Storyboard>
				</VisualState>

                <!-- The back button and title have different styles when snapped -->
				<VisualState x:Name="Snapped">
					<Storyboard>
						<ObjectAnimationUsingKeyFrames Storyboard.TargetName="backButton" Storyboard.TargetProperty="Style">
							<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource SnappedBackButtonStyle}"/>
						</ObjectAnimationUsingKeyFrames>
						<ObjectAnimationUsingKeyFrames Storyboard.TargetName="pageTitle" Storyboard.TargetProperty="Style">
							<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource SnappedPageHeaderTextStyle}"/>
						</ObjectAnimationUsingKeyFrames>
					</Storyboard>
				</VisualState>
			</VisualStateGroup>
		</VisualStateManager.VisualStateGroups>
		<Grid Style="{StaticResource LayoutRootStyle}" Background="{StaticResource NormalBackground}" Height="768" Width="1366">
			<Grid.RowDefinitions>
				<RowDefinition Height="140"/>
				<RowDefinition Height="*"/>
			</Grid.RowDefinitions>

			<!-- Back button and page title -->
			<Grid>
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="Auto"/>
					<ColumnDefinition Width="*"/>
				</Grid.ColumnDefinitions>
				<Button x:Name="backButton" Click="GoBack" IsEnabled="{Binding Frame.CanGoBack, ElementName=pageRoot}" Style="{StaticResource BackButtonStyle}"/>
				<TextBlock x:Name="pageTitle" Grid.Column="1" Text="隐私申明" Style="{StaticResource PageHeaderTextStyle}"/>
			</Grid>
			<TextBlock HorizontalAlignment="Left" Height="608" Margin="61,10,0,0" Grid.Row="1" TextWrapping="Wrap" VerticalAlignment="Top" Width="1261" FontSize="29.333" Foreground="White">
				<Run Text="隐私条款"/>
				<LineBreak/>
				<Run/>
				<LineBreak/>
				<Run Text="我们注重对您个人隐私的保护。本隐私权声明并解释了某些情况下的数据收集和使用情况。 我们不会收集或发布的任何个人信息。 但是为了帮助提供我们的服务，第三方广告和社交平台可能会在软件中采集您的相关个人信息，他们保护这些信息的安全。 我们承诺将严格保护您的个人信息的安全。如果您对我们的隐私保护有任何质疑，请发送邮件至studio77@126.com。"/>
				<LineBreak/>
				<Run/>
				<LineBreak/>
				<Run Text="Privacy Policy"/>
				<LineBreak/>
				<Run/>
				<LineBreak/>
				<Run Text="We focus on the protection of your privacy. This privacy statement explains data collection and use in some cases. We do not collect or publish any personal information. But, in order to help provide our services, third-parties advertising and social platform may collect your personal information in our softwares, and they protect these information security. We are committed to strictly protect the security of your personal information. If you have any questions about our privacy, please send an e-mail to studio77@126.com."/>
				<LineBreak/>
				<Run/>
				<LineBreak/>
				<Run Text="-77Studio"/>
			</TextBlock>

		</Grid>
	</Viewbox>
</common:LayoutAwarePage>
